package com.dragon.modules.yuegou.mapper.park;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.park.CouponMemberRefEntity;
import com.dragon.modules.yuegou.model.park.CouponMemberRef;
import com.dragon.modules.yuegou.model.park.CouponUseQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 * 停车券与会员关系表 Mapper接口
 *
 * @author px
 * @date 2019-04-18 09:58:13
 * @version 2.0
 */
@Component("parkCouponMemberRefMapper")
public interface CouponMemberRefMapper extends BaseMapper<CouponMemberRefEntity> {

    /**
     * 停车券记录
     */
	IPage<CouponMemberRef> searchCouponRecord(IPage<CouponMemberRef> page, @Param("query") CouponUseQuery query);

    /**
     * 导出停车券记录
     */
    List<CouponMemberRef> searchCouponRecord(@Param("query") CouponUseQuery query);

}
